<?php

use common\widgets\ajaxbtn\AjaxBtn;

/* @var $this yii\web\View */
/* @var $model common\models\UserProfile */
/* @var $form yii\bootstrap\ActiveForm */
$this->title = '修改密码'
?>

<div class="user-profile-form">

    <form id="w0" action="/site/account" method="post" role="form">
	
    <div class="form-group field-accountform-email required">
        <label class="control-label" for="accountform-email">邮箱</label>
        <input type="text" id="accountform-email" class="form-control" name="AccountForm[email]" value="<?= $model->email ?>">
    </div>
	
	<div class="form-group field-accountform-password">
        <label class="control-label" for="accountform-password">密码</label>
        <input type="password" id="accountform-password" class="form-control" name="AccountForm[password]">
    </div>
	
	<div class="form-group field-accountform-password_confirm">
        <label class="control-label" for="accountform-password_confirm">确认密码</label>
        <input type="password" id="accountform-password_confirm" class="form-control" name="AccountForm[password_confirm]">
    </div>

    <div class="form-group">
        <?= AjaxBtn::widget(['btnclass'=>'btn btn-primary','label'=>'修改']) ?>
    </div>

    </form>

</div>
